<HTML>
<HEAD>
<title>DB - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">org.mapdb</a>&nbsp;/&nbsp;<a href=".">DB</a><br/>
<br/>
<h1>DB</h1>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">DB</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html"><span class="identifier">Closeable</span></a><span class="symbol">, </span><a href="../-concurrency-aware/index.html"><span class="identifier">ConcurrencyAware</span></a></code><br/>
<p>A database with easy access to named maps and other collections.</p>
<br/>
<br/>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<a href="-atomic-boolean-maker/index.html">AtomicBooleanMaker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">AtomicBooleanMaker</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-maker/index.html"><span class="identifier">Maker</span></a><span class="symbol">&lt;</span><a href="../-atomic/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-atomic-integer-maker/index.html">AtomicIntegerMaker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">AtomicIntegerMaker</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-maker/index.html"><span class="identifier">Maker</span></a><span class="symbol">&lt;</span><a href="../-atomic/-integer/index.html"><span class="identifier">Integer</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-atomic-long-maker/index.html">AtomicLongMaker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">AtomicLongMaker</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-maker/index.html"><span class="identifier">Maker</span></a><span class="symbol">&lt;</span><a href="../-atomic/-long/index.html"><span class="identifier">Long</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-atomic-string-maker/index.html">AtomicStringMaker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">AtomicStringMaker</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-maker/index.html"><span class="identifier">Maker</span></a><span class="symbol">&lt;</span><a href="../-atomic/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-atomic-var-maker/index.html">AtomicVarMaker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">AtomicVarMaker</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-maker/index.html"><span class="identifier">Maker</span></a><span class="symbol">&lt;</span><a href="../-atomic/-var/index.html"><span class="identifier">Var</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-cat-val/index.html">CatVal</a></td>
<td>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">CatVal</span></code></td>
</tr>
<tr>
<td>
<a href="-hash-map-maker/index.html">HashMapMaker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">HashMapMaker</span><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">, </span><span class="identifier">V</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-maker/index.html"><span class="identifier">Maker</span></a><span class="symbol">&lt;</span><a href="../-h-tree-map/index.html"><span class="identifier">HTreeMap</span></a><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">,</span>&nbsp;<span class="identifier">V</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-hash-set-maker/index.html">HashSetMaker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">HashSetMaker</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-maker/index.html"><span class="identifier">Maker</span></a><span class="symbol">&lt;</span><a href="../-h-tree-map/-key-set/index.html"><span class="identifier">KeySet</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-index-tree-list-maker/index.html">IndexTreeListMaker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">IndexTreeListMaker</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-maker/index.html"><span class="identifier">Maker</span></a><span class="symbol">&lt;</span><a href="../-index-tree-list/index.html"><span class="identifier">IndexTreeList</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-index-tree-long-long-map-maker/index.html">IndexTreeLongLongMapMaker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">IndexTreeLongLongMapMaker</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-maker/index.html"><span class="identifier">Maker</span></a><span class="symbol">&lt;</span><a href="../-index-tree-long-long-map/index.html"><span class="identifier">IndexTreeLongLongMap</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-keys/index.html">Keys</a></td>
<td>
<code><span class="keyword">object </span><span class="identifier">Keys</span></code></td>
</tr>
<tr>
<td>
<a href="-maker/index.html">Maker</a></td>
<td>
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">Maker</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-tree-map-maker/index.html">TreeMapMaker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">TreeMapMaker</span><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">, </span><span class="identifier">V</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-maker/index.html"><span class="identifier">Maker</span></a><span class="symbol">&lt;</span><a href="../-b-tree-map/index.html"><span class="identifier">BTreeMap</span></a><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">,</span>&nbsp;<span class="identifier">V</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-tree-map-sink/index.html">TreeMapSink</a></td>
<td>
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">TreeMapSink</span><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">, </span><span class="identifier">V</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../-pump/-sink/index.html"><span class="identifier">Sink</span></a><span class="symbol">&lt;</span><span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">,</span>&nbsp;<span class="identifier">V</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<a href="../-b-tree-map/index.html"><span class="identifier">BTreeMap</span></a><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">,</span>&nbsp;<span class="identifier">V</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="-tree-set-maker/index.html">TreeSetMaker</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">TreeSetMaker</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-maker/index.html"><span class="identifier">Maker</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/NavigableSet.html"><span class="identifier">NavigableSet</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">DB</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$<init>(org.mapdb.Store, kotlin.Boolean, kotlin.Boolean, java.lang.ClassLoader, kotlin.Int)/store">store</span><span class="symbol">:</span>&nbsp;<a href="../-store/index.html"><span class="identifier">Store</span></a><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$<init>(org.mapdb.Store, kotlin.Boolean, kotlin.Boolean, java.lang.ClassLoader, kotlin.Int)/storeOpened">storeOpened</span><span class="symbol">:</span>&nbsp;<span class="identifier">Boolean</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$<init>(org.mapdb.Store, kotlin.Boolean, kotlin.Boolean, java.lang.ClassLoader, kotlin.Int)/isThreadSafe">isThreadSafe</span><span class="symbol">:</span>&nbsp;<span class="identifier">Boolean</span>&nbsp;<span class="symbol">=</span>&nbsp;true<span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$<init>(org.mapdb.Store, kotlin.Boolean, kotlin.Boolean, java.lang.ClassLoader, kotlin.Int)/classLoader">classLoader</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html"><span class="identifier">ClassLoader</span></a>&nbsp;<span class="symbol">=</span>&nbsp;Thread.currentThread().contextClassLoader<span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$<init>(org.mapdb.Store, kotlin.Boolean, kotlin.Boolean, java.lang.ClassLoader, kotlin.Int)/shutdownHook">shutdownHook</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span>&nbsp;<span class="symbol">=</span>&nbsp;0<span class="symbol">)</span></code><p>A database with easy access to named maps and other collections.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="class-info-serializer.html">classInfoSerializer</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">classInfoSerializer</span><span class="symbol">: </span><a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">Array</span><span class="symbol">&lt;</span><span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="class-loader.html">classLoader</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">classLoader</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html"><span class="identifier">ClassLoader</span></a></code></td>
</tr>
<tr>
<td>
<a href="default-serializer.html">defaultSerializer</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">defaultSerializer</span><span class="symbol">: </span><a href="../../org.mapdb.serializer/-group-serializer-object-array/index.html"><span class="identifier">GroupSerializerObjectArray</span></a><span class="symbol">&lt;</span><span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">&gt;</span></code><p>Default serializer used if collection does not specify specialized serializer.
It uses Elsa Serializer.</p>
</td>
</tr>
<tr>
<td>
<a href="executors.html">executors</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">executors</span><span class="symbol">: </span><span class="identifier">MutableSet</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ExecutorService.html"><span class="identifier">ExecutorService</span></a><span class="symbol">&gt;</span></code><p>List of executors associated with this database. Those will be terminated on close()</p>
</td>
</tr>
<tr>
<td>
<a href="is-thread-safe.html">isThreadSafe</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">isThreadSafe</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><p>returns true if this is configured to be thread safe</p>
</td>
</tr>
<tr>
<td>
<a href="lock.html">lock</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">lock</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/locks/ReentrantReadWriteLock.html"><span class="identifier">ReentrantReadWriteLock</span></a><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<a href="names-instanciated.html">namesInstanciated</a></td>
<td>
<code><span class="keyword">var </span><span class="identifier">namesInstanciated</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">,</span>&nbsp;<span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">&gt;</span></code><p>Already loaded named collections. Values are weakly referenced. We need singletons for locking</p>
</td>
</tr>
<tr>
<td>
<a href="shutdown-hook.html">shutdownHook</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">shutdownHook</span><span class="symbol">: </span><span class="identifier">Int</span></code><p>type of shutdown hook, 0 is disabled, 1 is hard ref, 2 is weak ref</p>
</td>
</tr>
<tr>
<td>
<a href="store-opened.html">storeOpened</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">storeOpened</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><p>True if store existed before and was opened, false if store was created and is completely empty</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="atomic-boolean.html">atomicBoolean</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">atomicBoolean</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$atomicBoolean(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><a href="-atomic-boolean-maker/index.html"><span class="identifier">AtomicBooleanMaker</span></a></code><br/>
<code><span class="keyword">fun </span><span class="identifier">atomicBoolean</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$atomicBoolean(kotlin.String, kotlin.Boolean)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$atomicBoolean(kotlin.String, kotlin.Boolean)/value">value</span><span class="symbol">:</span>&nbsp;<span class="identifier">Boolean</span><span class="symbol">)</span><span class="symbol">: </span><a href="-atomic-boolean-maker/index.html"><span class="identifier">AtomicBooleanMaker</span></a></code></td>
</tr>
<tr>
<td>
<a href="atomic-integer.html">atomicInteger</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">atomicInteger</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$atomicInteger(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><a href="-atomic-integer-maker/index.html"><span class="identifier">AtomicIntegerMaker</span></a></code><br/>
<code><span class="keyword">fun </span><span class="identifier">atomicInteger</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$atomicInteger(kotlin.String, kotlin.Int)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$atomicInteger(kotlin.String, kotlin.Int)/value">value</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><a href="-atomic-integer-maker/index.html"><span class="identifier">AtomicIntegerMaker</span></a></code></td>
</tr>
<tr>
<td>
<a href="atomic-long.html">atomicLong</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">atomicLong</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$atomicLong(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><a href="-atomic-long-maker/index.html"><span class="identifier">AtomicLongMaker</span></a></code><br/>
<code><span class="keyword">fun </span><span class="identifier">atomicLong</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$atomicLong(kotlin.String, kotlin.Long)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$atomicLong(kotlin.String, kotlin.Long)/value">value</span><span class="symbol">:</span>&nbsp;<span class="identifier">Long</span><span class="symbol">)</span><span class="symbol">: </span><a href="-atomic-long-maker/index.html"><span class="identifier">AtomicLongMaker</span></a></code></td>
</tr>
<tr>
<td>
<a href="atomic-string.html">atomicString</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">atomicString</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$atomicString(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><a href="-atomic-string-maker/index.html"><span class="identifier">AtomicStringMaker</span></a></code><br/>
<code><span class="keyword">fun </span><span class="identifier">atomicString</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$atomicString(kotlin.String, kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$atomicString(kotlin.String, kotlin.String)/value">value</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><a href="-atomic-string-maker/index.html"><span class="identifier">AtomicStringMaker</span></a></code></td>
</tr>
<tr>
<td>
<a href="atomic-var.html">atomicVar</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">atomicVar</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$atomicVar(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><a href="-atomic-var-maker/index.html"><span class="identifier">AtomicVarMaker</span></a><span class="symbol">&lt;</span><span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">&gt;</span></code><br/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span> <span class="identifier">atomicVar</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$atomicVar(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.atomicVar.E)))/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$atomicVar(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.atomicVar.E)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="-atomic-var-maker/index.html"><span class="identifier">AtomicVarMaker</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span></code><br/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span> <span class="identifier">atomicVar</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$atomicVar(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.atomicVar.E)), org.mapdb.DB.atomicVar.E)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$atomicVar(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.atomicVar.E)), org.mapdb.DB.atomicVar.E)/serializer">serializer</span><span class="symbol">:</span>&nbsp;<a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$atomicVar(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.atomicVar.E)), org.mapdb.DB.atomicVar.E)/value">value</span><span class="symbol">:</span>&nbsp;<span class="identifier">E</span><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><a href="-atomic-var-maker/index.html"><span class="identifier">AtomicVarMaker</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="check-name.html">checkName</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">checkName</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$checkName(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="check-not-closed.html">checkNotClosed</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">checkNotClosed</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="check-thread-safe.html">checkThreadSafe</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">checkThreadSafe</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>checks all subcomponents, if this component is really thread safe, and throws an exception if not thread safe</p>
</td>
</tr>
<tr>
<td>
<a href="close.html">close</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">close</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="commit.html">commit</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">commit</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="default-serializer-register-class.html">defaultSerializerRegisterClass</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">defaultSerializerRegisterClass</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$defaultSerializerRegisterClass(java.lang.Class((kotlin.Any)))/clazz">clazz</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html"><span class="identifier">Class</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><p>Register Class with default POJO serializer. Class structure will be stored in store,
and will save space for collections which do not use specialized serializer.</p>
</td>
</tr>
<tr>
<td>
<a href="exists.html">exists</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">exists</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$exists(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
</tr>
<tr>
<td>
<a href="get.html">get</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span> <span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$get(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">E</span></code></td>
</tr>
<tr>
<td>
<a href="get-all.html">getAll</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">getAll</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">,</span>&nbsp;<span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="get-all-names.html">getAllNames</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">getAllNames</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Iterable</span><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="get-name-for-object.html">getNameForObject</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">getNameForObject</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$getNameForObject(kotlin.Any)/e">e</span><span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">String</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<a href="get-store.html">getStore</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">getStore</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-store/index.html"><span class="identifier">Store</span></a></code></td>
</tr>
<tr>
<td>
<a href="hash-map.html">hashMap</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">hashMap</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$hashMap(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><a href="-hash-map-maker/index.html"><span class="identifier">HashMapMaker</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">,</span>&nbsp;<span class="identifier">*</span><span class="symbol">&gt;</span></code><br/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">, </span><span class="identifier">V</span><span class="symbol">&gt;</span> <span class="identifier">hashMap</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$hashMap(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.hashMap.K)), org.mapdb.Serializer((org.mapdb.DB.hashMap.V)))/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$hashMap(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.hashMap.K)), org.mapdb.Serializer((org.mapdb.DB.hashMap.V)))/keySerializer">keySerializer</span><span class="symbol">:</span>&nbsp;<a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$hashMap(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.hashMap.K)), org.mapdb.Serializer((org.mapdb.DB.hashMap.V)))/valueSerializer">valueSerializer</span><span class="symbol">:</span>&nbsp;<a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">V</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="-hash-map-maker/index.html"><span class="identifier">HashMapMaker</span></a><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">,</span>&nbsp;<span class="identifier">V</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="hash-set.html">hashSet</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">hashSet</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$hashSet(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><a href="-hash-set-maker/index.html"><span class="identifier">HashSetMaker</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span></code><br/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span> <span class="identifier">hashSet</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$hashSet(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.hashSet.E)))/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$hashSet(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.hashSet.E)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="-hash-set-maker/index.html"><span class="identifier">HashSetMaker</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="index-tree-list.html">indexTreeList</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span> <span class="identifier">indexTreeList</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$indexTreeList(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.indexTreeList.E)))/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$indexTreeList(kotlin.String, org.mapdb.Serializer((org.mapdb.DB.indexTreeList.E)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="-index-tree-list-maker/index.html"><span class="identifier">IndexTreeListMaker</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span></code><br/>
<code><span class="keyword">fun </span><span class="identifier">indexTreeList</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$indexTreeList(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><a href="-index-tree-list-maker/index.html"><span class="identifier">IndexTreeListMaker</span></a><span class="symbol">&lt;</span><span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="is-closed.html">isClosed</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">isClosed</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
</tr>
<tr>
<td>
<a href="name-catalog-get.html">nameCatalogGet</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">nameCatalogGet</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$nameCatalogGet(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">String</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<a href="name-catalog-get-class.html">nameCatalogGetClass</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span> <span class="identifier">nameCatalogGetClass</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$nameCatalogGetClass(java.util.SortedMap((kotlin.String, )), kotlin.String)/nameCatalog">nameCatalog</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/SortedMap.html"><span class="identifier">SortedMap</span></a><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">,</span>&nbsp;<span class="identifier">String</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$nameCatalogGetClass(java.util.SortedMap((kotlin.String, )), kotlin.String)/key">key</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">E</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<a href="name-catalog-load.html">nameCatalogLoad</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">nameCatalogLoad</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/SortedMap.html"><span class="identifier">SortedMap</span></a><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">,</span>&nbsp;<span class="identifier">String</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="name-catalog-load-locked.html">nameCatalogLoadLocked</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">nameCatalogLoadLocked</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/SortedMap.html"><span class="identifier">SortedMap</span></a><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">,</span>&nbsp;<span class="identifier">String</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="name-catalog-params-for.html">nameCatalogParamsFor</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">nameCatalogParamsFor</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$nameCatalogParamsFor(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Map</span><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">,</span>&nbsp;<span class="identifier">String</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="name-catalog-put-class.html">nameCatalogPutClass</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">nameCatalogPutClass</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$nameCatalogPutClass(java.util.SortedMap((kotlin.String, )), kotlin.String, kotlin.Any)/nameCatalog">nameCatalog</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/SortedMap.html"><span class="identifier">SortedMap</span></a><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">,</span>&nbsp;<span class="identifier">String</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$nameCatalogPutClass(java.util.SortedMap((kotlin.String, )), kotlin.String, kotlin.Any)/key">key</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$nameCatalogPutClass(java.util.SortedMap((kotlin.String, )), kotlin.String, kotlin.Any)/obj">obj</span><span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="name-catalog-save.html">nameCatalogSave</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">nameCatalogSave</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$nameCatalogSave(java.util.SortedMap((kotlin.String, )))/nameCatalog">nameCatalog</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/SortedMap.html"><span class="identifier">SortedMap</span></a><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">,</span>&nbsp;<span class="identifier">String</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="name-catalog-save-locked.html">nameCatalogSaveLocked</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">nameCatalogSaveLocked</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$nameCatalogSaveLocked(java.util.SortedMap((kotlin.String, )))/nameCatalog">nameCatalog</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/SortedMap.html"><span class="identifier">SortedMap</span></a><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">,</span>&nbsp;<span class="identifier">String</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="name-catalog-verify-get-messages.html">nameCatalogVerifyGetMessages</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">nameCatalogVerifyGetMessages</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Iterable</span><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">&gt;</span></code><p>verifies name catalog is valid (all parameters are known and have required values). If there are problems, it return list of messages</p>
</td>
</tr>
<tr>
<td>
<a href="rollback.html">rollback</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">rollback</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="tree-map.html">treeMap</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">treeMap</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$treeMap(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><a href="-tree-map-maker/index.html"><span class="identifier">TreeMapMaker</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">,</span>&nbsp;<span class="identifier">*</span><span class="symbol">&gt;</span></code><br/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">, </span><span class="identifier">V</span><span class="symbol">&gt;</span> <span class="identifier">treeMap</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$treeMap(kotlin.String, org.mapdb.serializer.GroupSerializer((org.mapdb.DB.treeMap.K)), org.mapdb.serializer.GroupSerializer((org.mapdb.DB.treeMap.V)))/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$treeMap(kotlin.String, org.mapdb.serializer.GroupSerializer((org.mapdb.DB.treeMap.K)), org.mapdb.serializer.GroupSerializer((org.mapdb.DB.treeMap.V)))/keySerializer">keySerializer</span><span class="symbol">:</span>&nbsp;<a href="../../org.mapdb.serializer/-group-serializer/index.html"><span class="identifier">GroupSerializer</span></a><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$treeMap(kotlin.String, org.mapdb.serializer.GroupSerializer((org.mapdb.DB.treeMap.K)), org.mapdb.serializer.GroupSerializer((org.mapdb.DB.treeMap.V)))/valueSerializer">valueSerializer</span><span class="symbol">:</span>&nbsp;<a href="../../org.mapdb.serializer/-group-serializer/index.html"><span class="identifier">GroupSerializer</span></a><span class="symbol">&lt;</span><span class="identifier">V</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="-tree-map-maker/index.html"><span class="identifier">TreeMapMaker</span></a><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">,</span>&nbsp;<span class="identifier">V</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="tree-set.html">treeSet</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">treeSet</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$treeSet(kotlin.String)/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">)</span><span class="symbol">: </span><a href="-tree-set-maker/index.html"><span class="identifier">TreeSetMaker</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span></code><br/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span> <span class="identifier">treeSet</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB$treeSet(kotlin.String, org.mapdb.serializer.GroupSerializer((org.mapdb.DB.treeSet.E)))/name">name</span><span class="symbol">:</span>&nbsp;<span class="identifier">String</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.DB$treeSet(kotlin.String, org.mapdb.serializer.GroupSerializer((org.mapdb.DB.treeSet.E)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<a href="../../org.mapdb.serializer/-group-serializer/index.html"><span class="identifier">GroupSerializer</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="-tree-set-maker/index.html"><span class="identifier">TreeSetMaker</span></a><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
<h3>Companion Object Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="-n-a-m-e-d_-s-e-r-i-a-l-i-z-a-t-i-o-n_-h-e-a-d-e-r.html">NAMED_SERIALIZATION_HEADER</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">NAMED_SERIALIZATION_HEADER</span><span class="symbol">: </span><span class="identifier">Int</span></code></td>
</tr>
<tr>
<td>
<a href="-n-a-m-e_-c-a-t-a-l-o-g_-s-e-r-i-a-l-i-z-e-r.html">NAME_CATALOG_SERIALIZER</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">NAME_CATALOG_SERIALIZER</span><span class="symbol">: </span><a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/SortedMap.html"><span class="identifier">SortedMap</span></a><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">,</span>&nbsp;<span class="identifier">String</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
<h3>Companion Object Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="add-shutdown-hook.html">addShutdownHook</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">addShutdownHook</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DB.Companion$addShutdownHook(kotlin.Any)/ref">ref</span><span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
